package com.bbva.generico.serviceImpl;

import java.math.BigDecimal;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bbva.generico.dao.GnrSistemaDAO;
import com.bbva.generico.service.LoginService;
import com.bbva.generico.to.GnrSistema;

@Service
public class LoginServiceImpl implements LoginService {

	@Autowired
	private GnrSistemaDAO gnrSistemaDAO;
	
	@Override
	public GnrSistema consultaImagenes(BigDecimal idSistema) throws Exception {
		return gnrSistemaDAO.selectByPrimaryKey(idSistema);
	}
	
}
